package com.hoshiicloud.payment.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 新增支付方式配置信息参数
 * </p>
 *
 * @author Mr.wu
 * @since 2019-05-13
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "新增支付方式配置信息", description = "新增支付方式配置信息")
public class PaymentAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "支付方式的英文缩写，暂时支持alipay和weixin", example = "weixin", required = true)
    private String payCode;

    @ApiModelProperty(value = "支付方式名称", example = "微信支付", required = true)
    private String payName;

    @ApiModelProperty(value = "支付费用")
    private String payFee;

    @ApiModelProperty(value = "支付方式描述", example = "微信支付", required = true)
    private String payDesc;

    @ApiModelProperty(value = "支付方式在页面的显示顺序")
    private Integer payOrder;

    @ApiModelProperty(value = "是否可用，0，否；1，是", example = "1", required = true)
    private Boolean enabled;

    @ApiModelProperty(value = "是否货到付款，0，否；1，是", example = "1", required = true)
    private Boolean isCod;

    @ApiModelProperty(value = "是否在线支付，0，否；1，是", example = "1", required = true)
    private Boolean isOnline;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;
    @ApiModelProperty(value = "平台ID", example = "1", required = true)
    private Long platformId;
    @ApiModelProperty(value = "店铺ID")
    private Long storeId;


}
